Optimal. Leaf size=139 \[ \frac{256 i a^4 \sec (c+d x)}{35 d \sqrt{a+i a \tan (c+d x)}}+\frac{64 i a^3 \sec (c+d x) \sqrt{a+i a \tan (c+d x)}}{35 d}+\frac{24 i a^2 \sec (c+d x) (a+i a \tan (c+d x))^{3/2}}{35 d}+\frac{2 i a \sec (c+d x) (a+i a \tan (c+d x))^{5/2}}{7 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.139905, antiderivative size = 139, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {3494, 3493} \[ \frac{256 i a^4 \sec (c+d x)}{35 d \sqrt{a+i a \tan (c+d x)}}+\frac{64 i a^3 \sec (c+d x) \sqrt{a+i a \tan (c+d x)}}{35 d}+\frac{24 i a^2 \sec (c+d x) (a+i a \tan (c+d x))^{3/2}}{35 d}+\frac{2 i a \sec (c+d x) (a+i a \tan (c+d x))^{5/2}}{7 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3494
Rule 3493
Rubi steps
\begin{align*} \int \sec (c+d x) (a+i a \tan (c+d x))^{7/2} \, dx &=\frac{2 i a \sec (c+d x) (a+i a \tan (c+d x))^{5/2}}{7 d}+\frac{1}{7} (12 a) \int \sec (c+d x) (a+i a \tan (c+d x))^{5/2} \, dx\\ &=\frac{24 i a^2 \sec (c+d x) (a+i a \tan (c+d x))^{3/2}}{35 d}+\frac{2 i a \sec (c+d x) (a+i a \tan (c+d x))^{5/2}}{7 d}+\frac{1}{35} \left (96 a^2\right ) \int \sec (c+d x) (a+i a \tan (c+d x))^{3/2} \, dx\\ &=\frac{64 i a^3 \sec (c+d x) \sqrt{a+i a \tan (c+d x)}}{35 d}+\frac{24 i a^2 \sec (c+d x) (a+i a \tan (c+d x))^{3/2}}{35 d}+\frac{2 i a \sec (c+d x) (a+i a \tan (c+d x))^{5/2}}{7 d}+\frac{1}{35} \left (128 a^3\right ) \int \sec (c+d x) \sqrt{a+i a \tan (c+d x)} \, dx\\ &=\frac{256 i a^4 \sec (c+d x)}{35 d \sqrt{a+i a \tan (c+d x)}}+\frac{64 i a^3 \sec (c+d x) \sqrt{a+i a \tan (c+d x)}}{35 d}+\frac{24 i a^2 \sec (c+d x) (a+i a \tan (c+d x))^{3/2}}{35 d}+\frac{2 i a \sec (c+d x) (a+i a \tan (c+d x))^{5/2}}{7 d}\\ \end{align*}
Mathematica [A] time = 0.641958, size = 109, normalized size = 0.78 \[ \frac{2 a^3 \sec ^2(c+d x) \sqrt{a+i a \tan (c+d x)} (\sin (c-2 d x)+i \cos (c-2 d x)) (102 \cos (2 (c+d x))+14 i \tan (c+d x)+19 i \sin (3 (c+d x)) \sec (c+d x)+75)}{35 d (\cos (d x)+i \sin (d x))^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.253, size = 100, normalized size = 0.7 \begin{align*}{\frac{2\,{a}^{3} \left ( 128\,i \left ( \cos \left ( dx+c \right ) \right ) ^{4}+128\, \left ( \cos \left ( dx+c \right ) \right ) ^{3}\sin \left ( dx+c \right ) +54\,i \left ( \cos \left ( dx+c \right ) \right ) ^{2}-22\,\cos \left ( dx+c \right ) \sin \left ( dx+c \right ) -5\,i \right ) }{35\,d \left ( \cos \left ( dx+c \right ) \right ) ^{3}}\sqrt{{\frac{a \left ( i\sin \left ( dx+c \right ) +\cos \left ( dx+c \right ) \right ) }{\cos \left ( dx+c \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{\frac{7}{2}} \sec \left (d x + c\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.04188, size = 363, normalized size = 2.61 \begin{align*} \frac{\sqrt{2}{\left (560 i \, a^{3} e^{\left (6 i \, d x + 6 i \, c\right )} + 1120 i \, a^{3} e^{\left (4 i \, d x + 4 i \, c\right )} + 896 i \, a^{3} e^{\left (2 i \, d x + 2 i \, c\right )} + 256 i \, a^{3}\right )} \sqrt{\frac{a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} e^{\left (i \, d x + i \, c\right )}}{35 \,{\left (d e^{\left (7 i \, d x + 7 i \, c\right )} + 3 \, d e^{\left (5 i \, d x + 5 i \, c\right )} + 3 \, d e^{\left (3 i \, d x + 3 i \, c\right )} + d e^{\left (i \, d x + i \, c\right )}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{\frac{7}{2}} \sec \left (d x + c\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]